<?php

namespace Part06_DecorationMode\Code4;

/**
 * @desc: ConcreteComponent的角色
 */
class Person
{
    private $name;

    public function setName($name)
    {
        $this->name = $name;
        return $this;
    }

    public function show()
    {
        echo '装扮的' . $this->name . "\n";
    }
}